/*******************************************************************************
* Project: QSAR(Cute Software Architecture) 
*
* Copyright: Copyright(C) 2024 by YuetingBen, All Rights Reserved
*
* File name: XcpCfg.h
*
* Brief: ;
*
* Author: Yueting.Ben
*
* Module: Xcp
*
*******************************************************************************/

#ifndef XCPCFG_H
#define XCPCFG_H

/** HEADER FILES **/
#include "XcpType.h"
#include "XcpRte.h" 
#include "XcpOnCan.h"


/** MACRO DEFINITION **/
#define XcpConf_Channel_00 0u
#define XcpConf_Channel_Max 1u


/** TYPEDEF DEFINITION **/
typedef struct
{
    PduType* XcpTxPduRef;
    uint16 XcpTxPduId;   
}XcpTxPduType;

typedef struct
{
    PduType* XcpRxPduRef;
    uint16 XcpRxPduId; 
}XcpRxPduType;

typedef struct
{
    XcpTxPduType XcpTxPdu;
    XcpRxPduType XcpRxPdu;
}XcpPduType;


typedef struct
{
    uint8 test;
}Xcp_ConfigType;

/** LOCAL DATA DEFINITION **/
extern const Xcp_ConfigType Xcp_Config;
extern const XcpPduType XcpPdu[XcpConf_Channel_Max];

#endif
